package com.navigation.segmented;

import java.util.Comparator;

public class EnergyNuclearComparator implements Comparator<EnergyEntry>{

	@Override
	public int compare(EnergyEntry arg0, EnergyEntry arg1) {
		return (arg0.nuclear > arg1.nuclear ? -1 : (arg0.nuclear == arg1.nuclear  ? 0 : 1));
	}

}
